package com.jkoss.wine.shop.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;


/**
 * 
 * 
 * @Author Jason
 * @Version 1.0, 2018-09-26
 * @See
 * @Since com.jkoss.wine.shop.entity
 * @Description: TODO
 */
@TableName("merchant_product_pics")
public class MerchantProductPics extends Model<MerchantProductPics> {

    private static final long serialVersionUID = 1L;

    @TableId("merchant_product_id")
    private String merchantProductId;
    @TableField("merchant_asset_url")
    private String merchantAssetUrl;


    public String getMerchantProductId() {
        return merchantProductId;
    }

    public void setMerchantProductId(String merchantProductId) {
        this.merchantProductId = merchantProductId;
    }

    public String getMerchantAssetUrl() {
        return merchantAssetUrl;
    }

    public void setMerchantAssetUrl(String merchantAssetUrl) {
        this.merchantAssetUrl = merchantAssetUrl;
    }

    @Override
    protected Serializable pkVal() {
        return this.merchantProductId;
    }

    @Override
    public String toString() {
        return "MerchantProductPics{" +
        ", merchantProductId=" + merchantProductId +
        ", merchantAssetUrl=" + merchantAssetUrl +
        "}";
    }
}
